/*
 * @Author: your name
 * @Date: 2020-05-13 12:10:39
 * @LastEditTime: 2020-05-13 12:15:44
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /vue-cli4-multi/src/modules/front/data/store/index.js
 */
import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'

// 全局APP 信息
import app from './modules/common/app'

import pages from './modules/pages/index'

/**
 * 手机端适配
 *   */
import mobileApp from './modules/common/mobile/app'
/* End */

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    app,
    mobileApp,
    ...pages
  },
  getters
})

export default store
